package com.mongo.demo.model;

import lombok.*;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.MongoId;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@Document("ent_info")
public class EnterpriseInfo {

    @MongoId
    private String id;

    private String entId;

    private String entCode;

    private String entName;

}
